package demo.security.example.code;

import demo.security.core.validate.code.image.ImageCode;
import demo.security.core.validate.code.ValidateCodeGenerator;
import org.springframework.web.context.request.ServletWebRequest;

/**
 * ExampleImageCodeGenerator
 *
 * @author lidj
 * @date 2018-01-11
 */
//@Component("imageCodeGenerator")
public class ExampleImageCodeGenerator implements ValidateCodeGenerator {
    @Override
    public ImageCode generate(ServletWebRequest request) {
        System.out.println("更高级的图形验证");
        return null;
    }
}
